<?php
App::uses('AppModel', 'Model');
/**
 * Event Model
 *
 * @property EventType $EventType
 * @property Cliente $Cliente
 * @property PacoteBanner $PacoteBanner
 * @property Midia $Midia
 */
class Event extends AppModel {

/**
 * Display field
 *
 * @var string
 */
	public $displayField = 'title';


	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'EventType' => array(
			'className' => 'EventType',
			'foreignKey' => 'event_type_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Cliente' => array(
			'className' => 'Cliente',
			'foreignKey' => 'cliente_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'PacoteBanner' => array(
			'className' => 'PacoteBanner',
			'foreignKey' => 'pacote_banner_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Midia' => array(
			'className' => 'Midia',
			'foreignKey' => 'midia_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
